<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>et</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
    <!--
        ===
        This comment should NOT be removed.

        Charisma v2.0.0

        Copyright 2012-2014 Muhammad Usman
        Licensed under the Apache License v2.0
        http://www.apache.org/licenses/LICENSE-2.0

        http://usman.it
        http://twitter.com/halalit_usman
        ===
    -->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="Charisma, a fully featured, responsive, HTML5, Bootstrap admin template.">
    <meta name="author" content="Muhammad Usman">

<%@include file="/commons/commonHead.jsp"%>
<script type="text/javascript">

	$(document).ready(function() { 	
		var currentSchoolId = "${schoolId}";
		var currentSchoolName = "${schoolIdName}";
    	switchSchool(currentSchoolId,currentSchoolName);
		
		
		
		$('#schools a').click(function (e) {
	        e.preventDefault();
	        currentSchoolId = $(this).attr('data-value');
	        currentSchoolName=$(this).html();
	        switchSchool(currentSchoolId,currentSchoolName);
	    });


    
		
	});  
	   
	
	function switchSchool(schoolId,schoolName) {
		$("#sp_schoolName").html(schoolName);
        $("#content").load('<%=basePath%>mgt/sys/content.do?schoolId='+schoolId);

        $('#schools i').removeClass('glyphicon glyphicon-ok whitespace').addClass('whitespace');
        $('#schools a[data-value=' + schoolId + ']').find('i').removeClass('whitespace').addClass('glyphicon glyphicon-ok');
    }
	   
	function editPassWord(){
		$("#editPassWord").modal();
	}
</script>
</head>

<body>
    <!-- topbar starts -->
    <div class="navbar navbar-default" role="navigation">

        <div class="navbar-inner">
            <button type="button" class="navbar-toggle pull-left animated flip">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="<%=basePath%>mgt/login/login.do"> <img alt="et Logo" src="<%=basePath%>charisma/img/logo20.png" class="hidden-xs"/>
                <span>easy talk</span></a>

            <!-- user dropdown starts -->
            <div class="btn-group pull-right">
                <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                    <i class="glyphicon glyphicon-user"></i><span class="hidden-sm hidden-xs"> admin</span>
                    <span class="caret"></span>
                </button>
                <ul class="dropdown-menu">
                    <li><a href="javascript:editPassWord();">修改密码</a></li>
                    <li class="divider"></li>
                    <li><a href="<%=basePath%>mgt/sys/logout.do">退出</a></li>
                </ul>
            </div>
            <!-- user dropdown ends -->

            <!-- theme selector starts -->
            <c:if test="${sessionScope.sessionSysUser.userType=='zj'}">
            <div class="btn-group pull-right theme-container animated tada">
                <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                    <i class="glyphicon glyphicon-tint"></i><span
                        class="hidden-sm hidden-xs" id="sp_shoolName">松江校区</span>
                    <span class="caret"></span>
                </button>
                <ul class="dropdown-menu" id="schools">
                    <li><a data-value="1" href="#"><i class="whitespace"></i> 松江校区</a></li>
                    <li><a data-value="2" href="#"><i class="whitespace"></i> 苏州校区</a></li>
                    <li><a data-value="3" href="#"><i class="whitespace"></i> 黄浦校区</a></li>
                    <li><a data-value="4" href="#"><i class="whitespace"></i> 浦东校区</a></li>
                </ul>
            </div>
            </c:if>
            <c:if test="${sessionScope.sessionSysUser.userType!='zj'}">
            <div class="btn-group pull-right theme-container animated tada">
                <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                    <i class="glyphicon glyphicon-tint"></i><span
                        class="hidden-sm hidden-xs" id="sp_shoolName">松江校区</span>
                    <span class=""></span>
                </button>
            </div>
            </c:if>
            <!-- theme selector ends -->

            <!-- <ul class="collapse navbar-collapse nav navbar-nav top-menu">
                <li><a href="#"><i class="glyphicon glyphicon-globe"></i> Visit Site</a></li>
                <li class="dropdown">
                    <a href="#" data-toggle="dropdown"><i class="glyphicon glyphicon-star"></i> Dropdown <span
                            class="caret"></span></a>
                    <ul class="dropdown-menu" role="menu">
                        <li><a href="#">Action</a></li>
                        <li><a href="#">Another action</a></li>
                        <li><a href="#">Something else here</a></li>
                        <li class="divider"></li>
                        <li><a href="#">Separated link</a></li>
                        <li class="divider"></li>
                        <li><a href="#">One more separated link</a></li>
                    </ul>
                </li>
                <li>
                    <form class="navbar-search pull-left">
                        <input placeholder="Search" class="search-query form-control col-md-10" name="query"
                               type="text">
                    </form>
                </li>
            </ul> -->

        </div>
    </div>
    <!-- topbar ends -->
<div class="ch-container">
    <div class="row">
        
        <!-- left menu starts -->
        <div class="col-sm-2 col-lg-2">
            <div class="sidebar-nav">
                <div class="nav-canvas">
                    <div class="nav-sm nav nav-stacked">

                    </div>
                    <ul class="nav nav-pills nav-stacked main-menu">
                        <li class="nav-header">Main</li>
                        <li><a class="ajax-link" href="javascript:skipPage('<%=basePath%>mgt/sys/content.do')"><i class="glyphicon glyphicon-home"></i><span> 主页</span></a>
                        </li>
                        <li class="nav-header hidden-md">用户</li>
                        <li><a class="ajax-link" href="javascript:skipPage('<%=basePath%>mgt/user/userList.do','{userType:\'xy\'}')"><i class="glyphicon glyphicon-globe"></i><span> 学员管理</span></a>
                        </li>
                        <li><a class="ajax-link" href="javascript:skipPage('<%=basePath%>mgt/user/userList.do','{userType:\'js\'}')"><i class="glyphicon glyphicon-eye-open"></i><span> 教师管理</span></a>
                        </li>
                        <li><a class="ajax-link" href="javascript:skipPage('<%=basePath%>mgt/user/userList.do','{userType:\'jw\'}')"><i class="glyphicon glyphicon-eye-open"></i><span> 教务管理</span></a>
                        </li>
                        <%-- <c:if test="${sessionScope.sessionSysUser.userType=='zj'}"> --%>
                        <li class="nav-header hidden-md">校区</li>
                        <li><a class="ajax-link" href="javascript:skipPage('<%=basePath%>mgt/school/schoolList.do')"><i class="glyphicon glyphicon-globe"></i><span> 校区管理</span></a>
                        </li>
                        <li><a class="ajax-link" href="javascript:skipPage('<%=basePath%>mgt/user/userList.do','{userType:\'xz\'}')"><i class="glyphicon glyphicon-eye-open"></i><span> 校长管理</span></a>
                        </li>
                        <%-- </c:if> --%>
                        <li class="nav-header hidden-md">课程</li>
                        <li><a class="ajax-link" href="javascript:skipPage('<%=basePath%>mgt/classInfo/classInfoList.do')"><i
                                    class="glyphicon glyphicon-edit"></i><span> 课程管理</span></a></li>
                        <li><a class="ajax-link" href="javascript:skipPage('<%=basePath%>mgt/classTable/nowWeekClass.do')"><i class="glyphicon glyphicon-list-alt"></i><span> 本周课表</span></a>
                        </li>
                        <li><a class="ajax-link" href="javascript:skipPage('<%=basePath%>mgt/classTable/otherWeekClass.do')"><i class="glyphicon glyphicon-font"></i><span> 往期课表</span></a>
                        </li>
                        <li><a class="ajax-link" href="javascript:skipPage('<%=basePath%>mgt/sys/chart.do')"><i class="glyphicon glyphicon-picture"></i><span> 课程分析</span></a>
                        </li>
                        <%-- <li class="nav-header hidden-md">Sample Section</li>
                        <li><a class="ajax-link" href="javascript:skipPage('<%=basePath%>mgt/login/table.do')"><i
                                    class="glyphicon glyphicon-align-justify"></i><span> Tables</span></a></li>
                        <li class="accordion">
                            <a href="#"><i class="glyphicon glyphicon-plus"></i><span> Accordion Menu</span></a>
                            <ul class="nav nav-pills nav-stacked">
                                <li><a href="#">Child Menu 1</a></li>
                                <li><a href="#">Child Menu 2</a></li>
                            </ul>
                        </li>
                        <li><a class="ajax-link" href="javascript:skipPage('<%=basePath%>mgt/login/calendar.do')"><i class="glyphicon glyphicon-calendar"></i><span> Calendar</span></a>
                        </li>
                        <li><a class="ajax-link" href="javascript:skipPage('<%=basePath%>mgt/login/grid.do')"><i
                                    class="glyphicon glyphicon-th"></i><span> Grid</span></a></li>
                        <li><a href="javascript:skipPage('<%=basePath%>mgt/login/tour.do')"><i class="glyphicon glyphicon-globe"></i><span> Tour</span></a></li>
                        <li><a class="ajax-link" href="javascript:skipPage('<%=basePath%>mgt/login/icon.do')"><i
                                    class="glyphicon glyphicon-star"></i><span> Icons</span></a></li>
                        <li><a href="<%=basePath%>mgt/login/error.do"><i class="glyphicon glyphicon-ban-circle"></i><span> Error Page</span></a>
                        </li>
                        <li><a href="<%=basePath%>mgt/login/to_login.do"><i class="glyphicon glyphicon-lock"></i><span> Login Page</span></a>
                        </li>
                    </ul>
                    <label id="for-is-ajax" for="is-ajax"><input id="is-ajax" type="checkbox"> Ajax on menu</label> --%>
                </div>
            </div>
        </div>
        <!--/span-->
        <!-- left menu ends -->

        <noscript>
            <div class="alert alert-block col-md-12">
                <h4 class="alert-heading">Warning!</h4>

                <p>You need to have <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a>
                    enabled to use this site.</p>
            </div>
        </noscript>

        <div id="content" class="col-lg-10 col-sm-10">
            
    </div><!--/#content.col-md-0-->
</div><!--/fluid-row-->


    <hr>

    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
         aria-hidden="true">

        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal">×</button>
                    <h3 id="myModal_h3">Settings</h3>
                </div>
                <div class="modal-body">
                    <p id="myModal_p">Here settings can be configured...</p>
                </div>
                <div class="modal-footer">
                    <a href="#" class="btn btn-default" data-dismiss="modal">Close</a>
                </div>
            </div>
        </div>
    </div>



	<div class="modal fade" id="editPassWord" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
         aria-hidden="true">

        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal">×</button>
                    <h3>用户信息</h3>
                </div>
                <div class="modal-body">
                	<fieldset>
                    <div class="form-group col-md-12">
                    <label class="control-label" for="userName">用户名称</label>
                    <input type="text" class="form-control" name="userName" value="admin" readonly="readonly" id="userName">
                </div>
                <div class="form-group col-md-12">
                    <label class="control-label" for="passWord">密码</label>
                    <input type="text" class="form-control" name="passWord" value="" id="passWord">
                </div>
                <div class="form-group col-md-12">
                    <label class="control-label" for="passWord">重输密码</label>
                    <input type="text" class="form-control" name="passWord" value="" id="passWord">
                </div>
				  	
				</fieldset>  
                </div>
                <div class="modal-footer">
                    <a href="#" class="btn btn-primary" data-dismiss="modal">Close</a>
                    <a href="#" class="btn btn-primary" data-dismiss="modal">提交</a>
                </div>
            </div>
        </div>
    </div>












    <footer class="row">
        <p class="col-md-9 col-sm-9 col-xs-12 copyright">&copy; <a href="#" target="_blank">easy talk</a> 2015 - 2018</p>

        <p class="col-md-3 col-sm-3 col-xs-12 powered-by">Powered by: <a
                href="#none">hexuan</a></p>
    </footer>

</div><!--/.fluid-container-->


</body>
</html>
